<?php
/**
 * Created by PhpStorm.
 * User: Min
 * Date: 2018/1/11
 * Time: 17:24
 */

namespace App\Services;


use App\Repositories\OrderInvoiceRepository;

class TestService
{
    protected $invoiceRepository;

    public function __construct(OrderInvoiceRepository $invoiceRepository)
    {
        $this->invoiceRepository = $invoiceRepository;
    }

    public function getGoodsInfoByGoodsId($invoice_id){
        return $this->invoiceRepository->getInvoiceInfo($invoice_id);
    }
}